home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / gfx / vtdevel3.lha / Include / exec / ports.i < prev    next >
Text File  |  1992-09-24  |  1KB  |  60 lines

  1.     IFND    EXEC_PORTS_I
  2. EXEC_PORTS_I    SET    1
  3. **
  4. **    $VER: ports.i 39.0 (15.10.91)
  5. **    Includes Release 39.108
  6. **
  7. **    Message ports and Messages.
  8. **
  9. **    (C) Copyright 1985-1992 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_NODES_I
  14.     INCLUDE "exec/nodes.i"
  15.     ENDC    ; EXEC_NODES_I
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC    ; EXEC_LISTS_I
  20.  
  21.  
  22. *----------------------------------------------------------------
  23. *
  24. *   Message Port Structure
  25. *
  26. *----------------------------------------------------------------
  27.  
  28.  STRUCTURE  MP,LN_SIZE
  29.     UBYTE   MP_FLAGS
  30.     UBYTE   MP_SIGBIT            ; signal bit number
  31.     APTR    MP_SIGTASK            ; object to be signalled
  32.     STRUCT  MP_MSGLIST,LH_SIZE        ; message linked list
  33.     LABEL   MP_SIZE
  34.  
  35.  
  36. *------ unions:
  37. MP_SOFTINT    EQU  MP_SIGTASK
  38.  
  39.  
  40. *------ MP_FLAGS: Port arrival actions (PutMsg)
  41. PF_ACTION    EQU  3    ; Mask
  42. PA_SIGNAL    EQU  0    ; Signal task in MP_SIGTASK
  43. PA_SOFTINT    EQU  1    ; Signal SoftInt in MP_SOFTINT/MP_SIGTASK
  44. PA_IGNORE    EQU  2    ; Ignore arrival
  45.  
  46.  
  47. *----------------------------------------------------------------
  48. *
  49. *   Message Structure
  50. *
  51. *----------------------------------------------------------------
  52.  
  53.  STRUCTURE  MN,LN_SIZE
  54.     APTR    MN_REPLYPORT    ; message reply port
  55.     UWORD   MN_LENGTH        ; total message length in bytes
  56.                 ; (include MN_SIZE in the length)
  57.     LABEL   MN_SIZE
  58.  
  59.     ENDC    ; EXEC_PORTS_I
  60.